package com.biwin.common.app.enums;

import com.biwin.common.api.enums.IBwEnum;

/**
 * BWF - BiWin Framework
 *
 * @author biwin
 * @since 0.0.1
 */
public enum BwBasicResponseEnum implements IBwEnum {
    /**
     * 接口调用相关
     */
    REQUEST_FAILED("BWF0000", "操作失败!"),
    REQUEST_SUCCESS("BWF0001", "操作成功!"),


    ;

    private String code;

    private String value;

    BwBasicResponseEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public void setValue(String value) {
        this.value = value;
    }
}
